package com.chuangjiangx.member.score.ddd.dal.mapper;

import com.chuangjiangx.member.score.ddd.dal.dto.*;
import com.chuangjiangx.member.score.ddd.dal.condition.MemberScoreGiftByTimeCondition;
import com.chuangjiangx.member.score.ddd.dal.condition.ScoreGiftRuleCountByGiftCondition;
import com.chuangjiangx.member.score.ddd.dal.condition.ScoreGiftRuleCountByStoreCondition;
import com.chuangjiangx.member.score.ddd.dal.condition.ScoreGiftRuleByTimeCondition;

import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScoreGiftRuleCountDalMapper {
    List<MemberScoreGiftList> queryDetailByTime(MemberScoreGiftByTimeCondition condition, RowBounds rb);

    List<ScoreGiftRuleCountByTime> countByTimeWithHour(ScoreGiftRuleByTimeCondition condition, RowBounds rb);

    List<ScoreGiftRuleCountByTime> countByTime(ScoreGiftRuleByTimeCondition condition, RowBounds rb);

    /**按门店查询图表*/
    List<ScoreGiftRuleCountChartByStore> countChartByStore(ScoreGiftRuleCountByStoreCondition condition, RowBounds rb);

    /**按门店查询列表*/
    List<ScoreGiftRuleCountListByStore> countListByStore(ScoreGiftRuleCountByStoreCondition condition, RowBounds rb);

    List<ScoreGiftRuleCountByGift> countByGift(ScoreGiftRuleCountByGiftCondition condition, RowBounds rb);
}
